/* style.css */
:root {
    --primary-green: #12744e;
    --secondary-green: #154116;
    --light-green: #e6f4ea;
    --dark-gray: #151515;
    --medium-gray: #333;
    --light-gray: #f9f9f9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
   font-family: 'Outfit', sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    background-color: #e6f4ea;
}

h1, h2, h3, h4, h5 {
    font-weight: 600;
    color:#01101a;
}

.main-page-wrapper {
    position: relative;
    min-height: 100vh;
}
/* For the entire scrollbar */
::-webkit-scrollbar {
  width: 12px;               /* vertical scrollbar width */
  height: 12px;              /* horizontal scrollbar height */
}

/* Scrollbar track */
::-webkit-scrollbar-track {
  background: #f1f1f1;       /* color of the tracking area */
  border-radius: 10px;
}

/* Scrollbar handle */
::-webkit-scrollbar-thumb {
  background: #12744e;          /* color of the scroll thumb */
  border-radius: 10px;
  border: 3px solid #f1f1f1; /* creates padding around scroll thumb */
}

/* Scrollbar handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #8ab9a6;          /* color when hovered */
}

#loader {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      background: #ffffff;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 9999;
      transition: opacity 0.9s ease, visibility 0.9s ease;
    }

    #loader.hidden {
      opacity: 0;
      visibility: hidden;
    }

    /* Hide content until loaded */
    #content {
      display: none;
    }

    /* Show content after load */
    body.loaded #content {
      display: block;
    }

/* Header Styles */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: transparent;
    padding: 20px 0;
    z-index: 1000;
    transition: all 0.4s ease;
}

#navbar.scrolled {
    background:linear-gradient(45deg, var(--primary-green), var(--secondary-green));
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
    padding: 7px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo container */
.logo-container {
    position: relative;
    height: 60px;
    width: 180px;
}

.logo {
    position: absolute;
    top: 0;
    left: 0;
    object-fit: contain;
    transition: opacity 0.4s ease;
}

/* Default logo (larger size) */
#logo-default {
    opacity: 1;
    height: 150px;
    width: 180px;
}

/* Scrolled logo (smaller size) */
#logo-scrolled {
    position: absolute;
    top: -48px;
    opacity: 0;
    height: 160px;
    width: 150px;
}

/* When scrolled, switch which logo is visible */
#navbar.scrolled #logo-default {
    opacity: 0;
}

#navbar.scrolled #logo-scrolled {
    opacity: 1;
}

/* Navigation links */
.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: color 0.3s ease;
    position: relative;
    padding: 8px 0;
}

.nav-links li a:hover {
    color: #1ec588;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #1ec588;
    transition: width 0.3s ease;
}

.nav-links li a:hover::after {
    width: 100%;
}

/* Hamburger icon */
.hamburger {
    display: none;
    font-size: 26px;
    cursor: pointer;
    color: white;
    background: none;
    border: none;
    z-index: 1000;
}

/* ---------- MOBILE VIEW ---------- */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 70%;
        max-width: 300px;
        background-color: #356352;
        flex-direction: column;
        padding: 100px 30px 30px;
        transform: translateX(100%);
        transition: transform 0.4s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
        z-index: 999;
    }
    
    .nav-links.show {
        transform: translateX(0);
    }
    
    .nav-links li a {
        color: #fff;
        padding: 15px 0;
        display: block;
        font-size: 20px;
    }
    
    .hamburger {
        display: block;
    }
    
    /* Mobile logo adjustments */
    .logo-container {
        top: -15px;
        height: 60px;
        width: 120px;
    }
    
    #logo-default {
        height: 100px;
        width: 120px;
    }
    
    #logo-scrolled {
        height: 100px;
        width: 120px;
        top: -5px;
    }
    
    .close-menu {
        position: absolute;
        top: 30px;
        right: 30px;
        font-size: 28px;
        color: white;
        background: none;
        border: none;
        cursor: pointer;
    }
}
.has-submenu {
  position: relative;
}

/* Submenu base */
.submenu {
  list-style: none;
  background-color: #444;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 160px;
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

/* Submenu items */
.submenu li a {
  color: white;
  padding: 10px 15px;
  display: block;
  text-decoration: none;
}

.submenu li a:hover {
  background-color: #555;
}

/* Desktop hover effect */
@media (min-width: 769px) {
  .has-submenu:hover .submenu {
    display: block;
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile styles */
@media (max-width: 768px) {
  .has-submenu .submenu {
    position: static;
    display: none;
    opacity: 1;
    transform: none;
    background-color: #333;
  }

  .has-submenu.open .submenu {
    display: block;
  }

  .has-submenu .main-link::after {
    content: " ▼";
    font-size: 12px;
  }
}

/* Banner Styles */
.banner-one {
    margin-top: 0; /* REMOVE this if already present */
    padding-top: 0px; /* Add this to push below fixed navbar */
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.banner-slide {
    min-height: 100vh;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    position: relative; /* Needed for ::before overlay */
}

.banner-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6); /* Slightly more transparent for better visibility */
    z-index: 1;
}

.banner-caption {
    position: relative;
    z-index: 2;
    color: white;
    margin: 0 auto;
    padding: 300px 50px 60px; /* Top padding reduced for better spacing */
    text-align: center;
}

.banner-caption h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: white;
    font-weight: 600;
}

.banner-caption p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: white;
}

.theme-button-one {
    display: inline-block;
    background: linear-gradient(45deg, var(--primary-green), var(--secondary-green));
    color: white !important;
    padding: 10px 25px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.theme-button-one:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* ========= Responsive Styles ========= */
@media (max-width: 768px) {
    .banner-one {
        margin-top: 0px;
    }

    .banner-caption {
    padding: 180px 16px 60px !important; /* Reduced top padding */
  }
    .banner-caption h1 {
        font-size: 1.75rem;
    }

    .banner-caption p {
        font-size: 1rem;
    }

    .theme-button-one {
        font-size: 15px;
        padding: 8px 16px;
    }
}


/* Preamble Section */
.preamble-header {
    text-align: center;
    margin: 50px 0 30px;
    position: relative;
}

.preamble-header h2 {
    display: inline-block;
    color: var(--dark-gray);
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
}

.preamble-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-green);
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.preamble-content {
    background-color: var(--light-gray);
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 50px;
    max-width: 1200px;
    margin: 0 auto 50px;
    text-align: center;
}

.preamble-content h5 {
    font-size: 1.5rem;
    line-height: 1.8;
    color: var(--medium-gray);
}

.preamble-content span {
    color: var(--primary-green);
    font-weight: 700;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.services-section:after {
    background: url('/images/homeservices/design.png');
    background-position: 50%;
    background-repeat: no-repeat;
    content: "";
    height: 100%;
    right: 0;
    position: absolute;
    top: -12%;
    width: 26%;
    z-index: 0;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.service-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.service-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card-content {
    padding: 25px;
}

.card-content h3 {
    color: var(--primary-green);
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.card-content p {
    color: var(--medium-gray);
    font-size: 1rem;
    margin-bottom: 15px;
}

/* Corrected Arrow Styling */


@media (max-width: 768px) {
    .services-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .services-section:after {
        display: none;
    }
    
    .service-card {
        margin-bottom: 20px;
    }
    
    .service-card-arrow {
        width: 20px;
        height: 20px;
    }
}
/* Journal Section */
.journal-section {
    padding: 40px 0;
    background-color: #E6F4EA;
}

/* Blog Container Grid */
.blog-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Blog Card Styles */
.blog-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(46, 125, 50, 0.1) 0%, rgba(46, 125, 50, 0) 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.blog-card:hover::before {
    opacity: 1;
}

/* Image Styles */
.blog-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover img {
    transform: scale(1.05);
}

/* Content Styles */
.blog-content {
    padding: 20px;
    position: relative;
    z-index: 2;
    background: white;
}

.blog-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-green);
    margin: 10px 0;
    transition: color 0.3s ease;
}

.blog-card:hover .blog-title {
    color: #2E7D32;
}

/* Text Clamping with Modern Standards */
.blog-description {
    color: var(--medium-gray);
    margin-bottom: 15px;
    font-size: 0.95rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-clamp: 3;
    box-orient: vertical;
    max-height: 4.5em;
    transition: all 0.4s ease;
}

/* Read More Functionality */
.more-content {
    display: none;
    color: var(--medium-gray);
    font-size: 0.95rem;
    margin-top: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.blog-card.expanded .blog-description {
    -webkit-line-clamp: unset;
    line-clamp: unset;
    max-height: none;
}

.blog-card.expanded .more-content {
    display: block;
    opacity: 1;
}

.read-more {
    display: inline-flex;
    align-items: center;
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    margin-top: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: #2E7D32;
    text-decoration: underline;
}

.read-more::after {
    content: '→';
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.blog-card.expanded .read-more::after {
    content: '↑';
    transform: rotate(180deg);
}

/* Featured Card Animation */
@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(46, 125, 50, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(46, 125, 50, 0); }
    100% { box-shadow: 0 0 0 0 rgba(46, 125, 50, 0); }
}

.blog-card.featured {
    position: relative;
    animation: pulse-green 2s infinite;
}

/* Fallback for browsers without line-clamp support */
@supports not ((line-clamp: 3) or (-webkit-line-clamp: 3)) {
    .blog-description {
        max-height: 4.5em;
        overflow: hidden;
        position: relative;
    }
    
    .blog-description::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 1.5em;
        background: linear-gradient(to bottom, transparent, white 90%);
    }
    
    .blog-card.expanded .blog-description::after {
        display: none;
    }
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .blog-container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }

    .blog-card {
        border-radius: 8px;
    }

    .blog-content {
        padding: 15px;
    }

    .blog-title {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .blog-description, .more-content {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .blog-card img {
        height: 180px;
    }

    .read-more {
        font-size: 0.85rem;
    }
    
    /* Disable hover effects on mobile */
    .blog-card:hover {
        transform: none;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    
    .blog-card:hover img {
        transform: none;
    }
}

/* Desktop Hover Effects */
@media (min-width: 769px) {
    .blog-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    }
}
/* Add this class to any card you want to highlight */
.featured::after {
    content: 'NEW';
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #2E7D32;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 3;
}
/* Timeline Section */

.timeline-container {
    position: relative;
    padding: 240px 120px;
    /* Ensure enough space for boxes */
    margin: 80px auto;
    overflow: visible; /* Changed from hidden */
}

.timeline-container h1 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    font-weight: 600;
}

.timeline-track {
    position: relative;
    height: 4px;
    background-color: #e0e0e0;
    width: calc(100% - 80px);
    margin: 0 auto;
}

.timeline-progress {
    position: absolute;
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #2E7D32);
    width: 0;
    transition: width 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}

.timeline-car {
    position: absolute;
    top: -18px;
    left: 0;
    width: 40px;
    height: 40px;
    transition: left 0.6s cubic-bezier(0.65, 0, 0.35, 1);
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.3));
    transform-origin: center;
    animation: carBounce 0.8s infinite alternate;
    z-index: 10;
}

.timeline-dots {
    display: flex;
    justify-content: space-between;
    position: absolute;
    width: 100%;
    top: -8px;
    left: 0;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #fff;
    border: 3px solid #ddd;
    position: relative;
    z-index: 5;
    cursor: pointer;
}

.timeline-dot::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: #4CAF50;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.3s ease;
}

.timeline-dot.active::after {
    transform: translate(-50%, -50%) scale(1);
}

.timeline-dot.pulse::after {
    animation: pulse 1.5s infinite;
}

.timeline-year {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-weight: bold;
    color: #333;
    white-space: nowrap;
    font-size: 0.9rem;
}

.timeline-content-box {
    position: absolute;
    width: 220px;
    min-height: 120px;
    padding: 15px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 3;
    left: 50%;
    text-align: center;
    /* New properties to ensure visibility */
    visibility: hidden;
    pointer-events: none;
    box-sizing: border-box;
}

.timeline-content-box.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.timeline-content-box.top {
    top: -180px;
    /* Ensure box stays within viewport */
    bottom: auto;
}

.timeline-content-box.bottom {
    bottom: -180px;
    /* Ensure box stays within viewport */
    top: auto;
}


.content-title {
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 1.1rem;
    font-weight: 600;
}

.content-text {
    color: #555;
    line-height: 1.4;
    font-size: 0.9rem;
}

@keyframes carBounce {
    0% { transform: translateY(0); }
    100% { transform: translateY(-5px); }
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.5); }
    100% { transform: translate(-50%, -50%) scale(1); }
}

@media (max-width: 768px) {
    .timeline-content-box {
        width: 220px;
        min-height: 100px;
    }
    
    .timeline-content-box.top {
        top: -220px;
    }
    
    .timeline-content-box.bottom {
        bottom: -220px;
    }
}

@media (max-width: 576px) {
    .timeline-content-box {
        width: 160px;
        min-height: 90px;
        padding: 10px;
    }
    
    .timeline-content-box.top {
        top: -220px;
    }
    
    .timeline-content-box.bottom {
        bottom: -220px;
    }
    
    .timeline-container {
        padding: 80px 15px;
        margin: 60px auto;
    }
}
/* Clients Section */
.slider-container {
  width: 100%;
  overflow: hidden;
  background: #e6f4ea; /* Optional light green background */
  padding: 20px 0;
}

.slider-wrapper {
  width: 100%;
  overflow: hidden;
}

.logo-slider {
  display: flex;
  gap: 80px;
  width: max-content;
  animation: scrollLoop 30s linear infinite;
}

.logo-slider img {
  height: 80px;
  transition: transform 0.3s ease;
}

.logo-slider img:hover {
  transform: scale(1.1);
}

@keyframes scrollLoop {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-60%);
  }
}

/* Facts Section */
.featured-section {
  position: relative;
  padding: 150px 0;
background-image: url(../images/homepage/4.jpeg);
 /* keep / adjust path */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  text-align: center;
  color: #ffffff;             /* default text colour   */
  font-family: 'Open Sans', sans-serif;
  overflow: hidden;           /* keeps overlay tidy    */
}

.featured-section::before {
  content: '';
  position: absolute;
  inset: 0;                   /* shorthand for top/right/bottom/left */
  background: rgba(0, 0, 0, 0.74);/* dark overlay for contrast           */
  z-index: 0;
}

.featured-section .container {
  position: relative;         /* lift the real content above overlay */
  z-index: 1;
  font-family: 'Open Sans', sans-serif;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.featured-section h2{
    font-family: 'Open Sans', sans-serif;
    font-weight: 200;
    color: #ffffff;
}
.featured-section .fact h1,
.featured-section .fact p,
.featured-section .counter {  /* makes absolutely everything white    */
  color: #b8cfb3 !important;
}

.featured-section h2 {
  font-size: 32px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 100px;
}

.facts-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.fact {
  min-width: 180px;
}

.fact h1 {
  font-size: 32px;
  font-weight: 500;
  margin: 0;
}

.fact p  {                 /* optional: smaller sub‑text */
  
  font-size: 24px;
  margin: 8px 0 0;
}
@media (max-width: 480px) {
  .facts-grid {
    flex-direction: column; /* Stack facts vertically */
    align-items: center;
    gap: 30px;
  }
}
@media (max-width: 768px) {
  .featured-section {
    padding: 80px 0;
    background-attachment: scroll; /* Ensure this is scroll on mobile */
  }
  
  .featured-section h2 {
    font-size: 20px;
    margin-bottom: 40px;
  }
  
  .facts-grid {
    gap: 30px;
  }
}
/* Footer */
.green-footer {
    background: linear-gradient(45deg, var(--primary-green), var(--secondary-green));;
    color: white;
    padding-top: 60px;
}

.footer-promo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto 50px;
    padding: 0 20px;
}

.footer-promo-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    max-width: 180px;
    height: auto;
}

.footer-promo-left span {
    font-size: 1rem;
    font-weight:500;
}

.get-in-touch-button {
    background: white;
    color: var(--primary-green) !important;
    padding: 15px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.get-in-touch-button:hover {
    background: #f8f9fa;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.footer-content {
    display: grid;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight:600;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 40px;
}

.footer-col h4 {
    font-size: 1.4rem;
    font-weight:750;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: white;
}

.footer-col p, .footer-col li {
    opacity: 0.9;
    margin-bottom: 10px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-col a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 25px 0;
    text-align: center;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: white;
    color: var(--primary-green);
    transform: translateY(-3px);
}

/* Responsive Styles */
@media (max-width: 600px) {
    .banner-caption h1 {
        font-size: 2.5rem;
    }
    
    .banner-caption p {
        font-size: 1.2rem;
    }
    
    .preamble-content {
        padding: 30px;
    }
    
    .preamble-content h5 {
        font-size: 1.2rem;
    }
    
    .footer-promo {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .footer-content {
    grid-template-columns: 1fr; /* Stack footer sections */
    text-align: center;
  }
  
  .footer-col h4::after {
    left: 50%;
    transform: translateX(-50%); /* Center underline */
  }
}
@media (max-width: 992px) {
    .footer-promo {
        flex-direction: column;
        gap: 30px;
        text-align: center;
        margin-bottom: 40px;
    }
    
    .footer-promo-left {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-logo {
        max-width: 150px;
    }
}

@media (max-width: 576px) {
    .green-footer {
        padding-top: 40px;
    }
    
    .footer-promo {
        margin-bottom: 30px;
        gap: 20px;
    }
    
    .footer-promo-left span {
        font-size: 0.9rem;
    }
    
    .footer-logo {
        max-width: 120px;
    }
}

@media (max-width: 768px) {
    .banner-slide {
        height: 70vh;
    }
    
    .banner-caption h1 {
        font-size: 3rem;
    }
    
    .theme-main-header {
        padding: 10px 0;
    }
    
    .logo-slider {
    animation: scrollLoop 40s linear infinite; /* Slower animation */
    gap: 40px; /* Reduced gap between logos */
  }
  
  .logo-slider img {
    height: 60px; /* Smaller logos */
  }

    
    #mega-menu-holder ul {
        flex-direction: column;
        gap: 10px;
    }
    
    .fact h1 {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .banner-slide {
        height: 60vh;
    }
    
    .banner-caption h1 {
        font-size: 1.8rem;
    }
    
    .banner-caption p {
        font-size: 1rem;
    }
    
    .preamble-content {
        padding: 20px;
    }
    
    .preamble-content h5 {
        font-size: 1rem;
    }
    
    .logo img {
        max-width: 180px;
    }
    
    .theme-button-one {
        padding: 10px 25px;
        font-size: 16px;
    }
}
.card-arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 20px;
}

.arrow-circle {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid #ccc;
    border-radius: 50%;
    font-size: 1.2rem;
    color: #666;
    transition: background 0.3s, color 0.3s;
    cursor: pointer;
}

.arrow-circle:hover {
    background: var(--primary-green);
    color: white;
    border-color: var(--primary-green);
}
@media (max-width: 768px) {
    .card-arrow {
        padding-bottom: 15px; /* Reduce space on smaller screens */
    }

    .arrow-circle {
        width: 30px;
        height: 30px;
        font-size: 1rem;
        border-width: 1px;
    }
}
